#!/usr/bin/env python
# coding: utf-8

# In[9]:


'''产生随机数组求最值'''

import numpy as np
# 产生随机数组
M=np.random.randint(0,100,(10,10))
print(M)
# 求数组最值
m=np.max(M)
n=np.min(M)
print("max=%d"%(m))
print("min=%d"%(n))


# In[ ]:





# In[ ]:




